<template>
	<view class="mainCss">
		<view class="titleBox">
			<view class="titleLeft">
				<img src="../../static/title/back.png" class="titleBack" @click="goBack">
			</view>
			<view class="titleText">
				<text>设置</text>
			</view>
			<view class="titleRight">

			</view>
		</view>
		<view class="otherBox">
			<view class="other" @click="callUs">
				<img src="../../static/my/callUs.png" class="otherIcon">
				<text class="otherText">联系我们</text>
				<img src="../../static/home/right.png" class="otherMore">
			</view>
			<view class="other" @click="help">
				<img src="../../static/my/help.png" class="otherIcon">
				<text class="otherText">帮助与反馈</text>
				<img src="../../static/home/right.png" class="otherMore">
			</view>
			<view class="other" @click="about">
				<img src="../../static/my/about.png" class="otherIcon">
				<text class="otherText">关于我们</text>
				<img src="../../static/home/right.png" class="otherMore">
			</view>
		</view>
		<view class="bodyBox">
			<button class="out">退出登录</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {

		},
		methods: {
			// 返回
			goBack() {
				uni.navigateBack(0)
			},
			// 首页
			goHome() {
				uni.switchTab({
					url: '/pages/home/index',
				})
			},
			// 联系我们
			callUs() {
				uni.navigateTo({
					url:'/pagesC/setting/relation'
				})
			},
			// 帮助与反馈
			help() {
				uni.navigateTo({
					url:'/pagesC/setting/issue'
				})
			},
			// 关于我们
			about() {
				uni.navigateTo({
					url:'/pagesC/setting/in-regard-to'
				})
			},
		}
	}
</script>

<style>
	@import '../../css/my.css';
	@import '../../css/setting.css';
</style>